package library.and.xps.com.step.m.model;

import io.realm.RealmObject;
import io.realm.annotations.PrimaryKey;
import io.realm.annotations.RealmClass;

/**
 * Created by XPS on 2017/5/8.
 */
@RealmClass
public class Department extends RealmObject {
    @PrimaryKey
    String departmentid;
    String dname;
    String teamid;
    String parentid;
    String creater;

    @Override
    public String toString() {
        return "Department{" +
                "departmentId='" + departmentid + '\'' +
                ", dname='" + dname + '\'' +
                ", teamId='" + teamid + '\'' +
                ", parentId='" + parentid + '\'' +
                ", creater='" + creater + '\'' +
                '}';
    }

    public String getDepartmentid() {
        return departmentid;
    }

    public void setDepartmentid(String departmentid) {
        this.departmentid = departmentid;
    }

    public String getDname() {
        return dname;
    }

    public void setDname(String dname) {
        this.dname = dname;
    }

    public String getTeamId() {
        return teamid;
    }

    public void setTeamId(String teamId) {
        this.teamid = teamId;
    }

    public String getParentId() {
        return parentid;
    }

    public void setParentId(String parentId) {
        this.parentid = parentId;
    }

    public String getCreater() {
        return creater;
    }

    public void setCreater(String creater) {
        this.creater = creater;
    }
}
